# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libquvi-scripts
pkgver=0.9.20131130
pkgrel=1
pkgdesc="scripts for libquvi - the library for parsing video download links"
url="https://quvi.sourceforge.net/"
arch="noarch"
license="LGPL-2.0-or-later"
subpackages="$pkgname-dev $pkgname-doc"
source="https://downloads.sourceforge.net/project/quvi/${pkgver%.*}/$pkgname/$pkgname-$pkgver.tar.xz"

prepare() {
	default_prepare
	update_config_guess
	update_config_sub
}

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="97de4cead30dc181da700cbf3a0ad66ee709fef17f449f75cd43e0376a4aa53c7b2174188130aaa34dcc7ddc578581111f3655cb10f4b0c92df2f75d32c72a02  libquvi-scripts-0.9.20131130.tar.xz"
